package com.effectiv.crm.modules;

import java.io.Serializable;

import lombok.Data;

@Data
public class Module implements Serializable, Comparable<Module>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	private String name;
	private String key;
	private String url;
	private String version;
	
	private Integer order;

	public int compareTo(Module m) {
		return (order-m.getOrder());
	}
}
